Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Managing Transforms


Q3Transform_GetType

You can use the Q3Transform_GetType function to get the type of a transform object.

TQ3ObjectType Q3Transform_GetType (TQ3TransformObject transform);
transform
A transform.
DESCRIPTION
The Q3Transform_GetType function returns, as its function result, the type of the transform object specified by the transform parameter. The types of transform objects currently supported by QuickDraw 3D are defined by these constants:

kQ3TransformTypeMatrix
kQ3TransformTypeQuaternion
kQ3TransformTypeRotate
kQ3TransformTypeRotateAboutAxis
kQ3TransformTypeRotateAboutPoint
kQ3TransformTypeScale
kQ3TransformTypeTranslate
If the specified transform object is invalid or is not one of these types, Q3Transform_GetType returns the value kQ3ObjectTypeInvalid.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996